# -*- mode: snippet -*-
# name: thread
# key: thread
# --
Thread t = new Thread($1) {
    public void run() {
        $0
    }
}.start();